Police issue apology, High Court dismisses case against them for posing with accused